package com.china.bike.service.impl;

import com.china.bike.dao.FuncDao;
import com.china.bike.entity.SysFuncBean;
import com.china.bike.service.LoginService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class LoginServiceImpl implements LoginService {
	
//	@Autowired
//	private SysOpMapper sysOpMapper;
//
//	@Autowired
//	private SysFuncMapper sysFuncMapper;
//
//	@Override
//	public SysOp selectSysOpByNameOrPwd(SysOp record) throws Exception {
//
//		return sysOpMapper.selectSysOpByNameOrPwd(record);
//	}
//
    @Autowired
    private FuncDao funcDao;

	@Override
	public List<SysFuncBean> selectFuncByOpId(Map<String, Object> map)
			throws Exception {
		return funcDao.selectSysFuncByOpId(map);
	}


}
